<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
   <s:form  action="LoginAction_login.do"  method="post" namespace="/" theme="simple">
			<div class="six columns" align="center">
				<h3>
					登录信息
				</h3>
				<table class="twelve" style="center">
					<tbody>
						<tr>
							<th style="width: 30%">
								用户名:
							</th>
							<td>
								<input type="text" name="txtUsername" id="uname" />
							</td>
						</tr>
					</tbody>
					<tbody>
						<tr>
							<th style="width: 30%">
								密码:
							</th>
							<td>
								<input type="password" name="txtPassword" id="upwd" />
							</td>
						</tr>
					</tbody>
					<tbody style="margin-bottom:10px">
						<tr>
						<th></th>
							<th colspan="2" style="center" >
								<input type="reset" value="重置" class="small button" />
								<input type="submit" name="submit" value="登录" style="margin-left:100px" 
									class="small button" />
							</th>
						</tr>
					</tbody>
				</table>
			<s:property value="errors.message" />
				<div id="data_return"></div>
			</div>
			</s:form>
  </body>
</html>
